package com.linln.admin.sync.validator;

import lombok.Data;

import java.io.Serializable;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author taofucheng
 * @date 2021/11/26
 */
@Data
public class FlowNacosValid implements Serializable {
    @NotEmpty(message = "标题不能为空")
    private String title;
    @NotNull(message = "所属版本不能为空")
    private Long version_id;
    @NotEmpty(message = "Data ID不能为空")
    private String data_id;
    @NotEmpty(message = "group不能为空")
    private String group_id;
    @NotEmpty(message = "是否新增不能为空")
    private String add_flag;
}